local joy__chouhai = fk.CreateSkill {

  name = "joy__chouhai",

  tags = { Skill.Compulsory, },

}



joy__chouhai:addEffect(fk.DamageInflicted, {
  name = "joy__chouhai",
  anim_type = "negative",
  frequency = Skill.Compulsory,
  events ={fk.DamageInflicted},
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(joy__chouhai.name) and player:isKongcheng() and #player:getCardIds("e") == 0 and data.card and data.card.trueName == "slash"
  end,
  on_use = function(self, event, target, player, data)
    data.damage = data.damage + 1
  end,
})

return joy__chouhai